package com.itheima.mapper;

import com.itheima.pojo.Person;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface PersonMapper {


    @Select("select * from person where name=#{name} and  password=#{password} and code=#{code}")
    Person login(Person person);
}
